<?php
/**
 * Description of c_forum_post_model
 *
 * @author tonatos
 */
class c_comment_model extends c_base_model{
    public $id_content;
    public $message;
    public $user_id;

    public function before_insert() {
        global $modx;
        parent::before_insert();
        $this->createdon = time();
        $this->user_id = $modx->getLoginUserID();
    }

}
?>
